home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / text / misc / nroffamiga.lha / tmac.lha / tmac.indent < prev    next >
Text File  |  1992-05-26  |  2KB  |  112 lines

  1. .\"    @(#)tmac.indent    1.4    88/02/08
  2. .\"    Troff macro package for "indent -troff" output
  3. .nr PS 11    \" Text point size
  4. .nr CS 10    \" Major comment point size
  5. .nr RC 3.5i    \" Distance from the left margin to right adjusted comments
  6. .nr LC .25i    \" Distance from the left text edge to left adjusted comments
  7. .nr MC .25i    \" Distance from the left margin to major comments
  8. .nr CL 2.75i    \" Line length for snuggled left comments
  9. .nr VS 13    \" Vertical line spacing
  10. .nr HM 1i    \" Header margin
  11. .nr FM 1i    \" Footer margin
  12. .nr TI 1i    \" Text indent
  13. .nr LL 6.5i
  14. .de HD
  15. 'sp .2i
  16. 'ft I
  17. 'ps 14
  18. .tl /\\*(FN//\\*(PR/
  19. 'ps
  20. 'ft
  21. 'sp |\\n(HMu
  22. ..
  23. .de FT
  24. 'sp .4i
  25. .tl ///%/
  26. 'bp
  27. ..
  28. .wh 0 HD
  29. .wh 11i-\n(FMu FT
  30. .de RT
  31. .in \\n(TIu
  32. .ps \\n(PS
  33. .vs \\n(VS
  34. .ll \\n(LLu
  35. .ft R
  36. ..
  37. .de Fn
  38. .ds FN \\$1
  39. .nf
  40. .in 0
  41. .ps 28
  42. .sp .5i
  43. .ce 1
  44. .ft I
  45. \- \\$1 \-
  46. .sp .5i
  47. .RT
  48. .ns
  49. ..
  50. .de Pr
  51. .ds PR \\$1
  52. .ne 1i
  53. .sp .2i
  54. .ft B
  55. .ps 14
  56. .ti 0
  57. \\$1
  58. .if \\n(.nu+1p<\\n(TIu .sp -1
  59. .RT
  60. .ti 0
  61. \\l`\\n(LLu\(ul`
  62. .sp -1
  63. .ns
  64. ..
  65. .de De
  66. .br
  67. .if \\n(.nu<(\\$1) .sp -1
  68. \\h`\\$1`\\c
  69. ..
  70. .de Du
  71. .br
  72. .if \\n(.nu+\\w`\\$2`u<(\\$1) .sp -1
  73. \\h'\\$1-\\w`\\$2`u'\\$2\\c
  74. ..
  75. .de */
  76. .RT
  77. .nf
  78. ..
  79. .de /*
  80. .ft I
  81. .fi
  82. .ad l
  83. .ps \\n(CS
  84. .ie \\$2<0 \\{\
  85. .    ne 2i
  86. .    nf
  87. .    sp .3i
  88. .    vs \\n(CS+1
  89. .    in \\n(MCu
  90. .    ft L \\}
  91. .el .ie \\$2 \\{\
  92. .    sp -1
  93. .    ie (\\n(.n+\\n(TIu>=\\n(RCu):(\\$3>(\\n(CLu-1n)) \\{\
  94. .        in \\n(LCu
  95. .        ie \\n(CLu-\\n(TI<\\$3 .ll \\n(CLu
  96. .        el .ie (\\$3+\\n(TIu-\\n(LCu>=\\n(C!u):(\\$3>=1i) .ll \\$3+\\n(TIu-1n
  97. .            el \\{\
  98. .            in \\n(RCu
  99. .            sp 1 \\}\\}
  100. .    el .    in \\n(RCu\\}
  101. .el \\{\
  102. .    ne 1i
  103. .    sp .1i
  104. .    vs \\n(CS+1
  105. .    ie \\$1<=7p \\{\
  106. .        in \\n(MCu
  107. .        sp .2i
  108. .        ft H  \\}
  109. .    el .    in \\n(TIu+\\$3-\\n(LCu\\}
  110. .nr C! 10i
  111. ..
  112.